<template>
    <div class="mine">
        <div class="simple-show" @click="submit">
            <div class="left">
                <div class="portrait">
                    <span>姓名</span>
                </div>
            </div>
            <div class="right">
                <div class="user-info">
                    <div class="monicker">
                        <span>七便士</span>
                    </div>
                    <div class="phone">
                        <span>13771082117</span>
                    </div>
                </div>
                <div class="use-icon">
                    <span class="icon"></span>
                </div>
            </div>
        </div>
    </div>
</template>

<script>
    export default {
        name: "mine",
        data() {
            return {

            }
        },
        methods: {
            submit() {
                this.$router.push({
                    name: 'mineDetails'
                })
            }
        }
    }
</script>

<style lang="scss" scoped>
    .mine {
        box-sizing: border-box;
        width: 100%;
        height: 100%;
        background-color: white;
        padding: 20px 16px 66px;
        .simple-show {
            height: 68px;
            position: relative;
            .left {
                position: absolute;
                display: flex;
                flex-direction: column;
                justify-content: center;
                height: 100%;
                width: 22%;
                .portrait {
                    border-radius: 50%;
                    width: 68px;
                    height: 68px;
                    line-height: 68px;
                    font-size: 12px;
                    background-color: #e4e4e4;
                }
            }
            .right {
                text-align: left;
                position: absolute;
                display: flex;
                flex-direction: column;
                justify-content: center;
                right: 0;
                height: 100%;
                width: 78%;
                .user-info {
                    width: 80%;
                    position: absolute;
                    .monicker {
                        margin-bottom: 6px;
                        font-size: 22px;
                        font-weight: 700;
                    }
                    .phone {
                        font-size: 14px;
                    }
                }
                .use-icon {
                    position: absolute;
                    right: 0;
                    width: 20%;
                    .icon {
                        float: right;
                        transform: rotate(45deg);
                        display: inline-block;
                        width: 8px;
                        height: 8px;
                        border-top-width: 1px;
                        border-top-style: solid;
                        border-top-color: #000000;
                        border-right-width: 1px;
                        border-right-style: solid;
                        border-right-color: #000000;
                    }
                }
            }
        }
    }
</style>